package com.ly10111.customedittext.ime.dict;

import android.content.Context;

import java.util.ArrayList;
import java.util.HashMap;

public interface IDict {
    void open(Context context);

    void close();

    ArrayList<DictBean> cursor(String text, HashMap<String, String> codeMap, boolean isWord, boolean isPhrases);

    void addUse(DictBean dictBean);

    HashMap<String, String> getDictCodeMap();
}
